dseg at 11h
    val1: ds 1; 0x0f
    val2: ds 1; 0x42

cseg at 0h
	ljmp init
	
cseg at 3h
	reti
	
cseg at 20h
	
init:
    mov val1, #0x0f
    mov val2, #0x42
    mov r0, #0x02
    mov r1, #0x00
    ljmp start 
	
cseg at 30h

start:
    xch a, 0x12
	ljmp test_ljmp
	rl a
test_ljmp:
    subb a, r0
    subb a, 0x11 
    xch a, @r1 
    rl a
	subb a, 0x11
end